int join_game(LPGUID game_guid,char *player_name)
Parameter | Type | Description |
---|---|---|
game_guid | LPGUID | game GUID to join |
player_name | char * | player name |
Returns the DirectPlay player id if game join is OK, 0 if unable to join.
This function joins a multiplayer game. It must be called with one of the games enumerated by the enum_games function.